﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Modellayer
{
    [DataContract]
    public class Reservation
    {
        [DataMember]
        public int reservationId { get; set; }
        [DataMember]
        public List<Seat> seats { get; set; }
        [DataMember]
        public Show show { get; set; }
        [DataMember]
        public Person person { get; set; }

        public Reservation(int reservationId,  List<Seat> seats, Show show, Person person)
        {
            this.reservationId = reservationId;
            this.seats = seats;
            this.show = show;
            this.person = person;
        }

        public Reservation(int reservationId, Show show, Person person)
        {
            this.reservationId = reservationId;
            this.show = show;
            this.person = person;
        }

        public Reservation()
        { }

    }
}
